import { $api } from 'udp/utils/service/request'
// 增
export function addItem(data: any) {
  return $api.post('/base/order/insert', data)
}
// 删
export function deleteItem(data: any) {
  return $api.delete(`/base/order/delete/{orderId}/{detailId}`, data)
}
// 改
export function updateItem(data: any) {
  return $api.put('/base/order/update', data)
}
// 查
export function getList(data: any) {
  return $api.get('/base/order/page', data)
}
